package com.bs.bszhsq.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 投诉建议
 * </p>
 *
 * @author 章宇光
 * @since 2024-03-26
 */
@ApiModel(value = "Complaint对象", description = "投诉建议")
public class Complaint implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("创建时间")
      private LocalDateTime addtime;

      @ApiModelProperty("标题")
      private String name;

      @ApiModelProperty("类型")
      private String type;

      @ApiModelProperty("内容")
      private String content;

      @ApiModelProperty("姓名")
      private String username;

      @ApiModelProperty("手机")
      private String phone;

      @ApiModelProperty("用户id")
      private Long userid;

      private String solve;


      private String relf;

    public String getRelf() {
        return relf;
    }

    public void setRelf(String relf) {
        this.relf = relf;
    }

    public String getSolve() {
        return solve;
    }

    public void setSolve(String solve) {
        this.solve = solve;
    }

    public Long getId() {
        return id;
    }

      public void setId(Long id) {
          this.id = id;
      }
    
    public LocalDateTime getAddtime() {
        return addtime;
    }

      public void setAddtime(LocalDateTime addtime) {
          this.addtime = addtime;
      }
    
    public String getName() {
        return name;
    }

      public void setName(String name) {
          this.name = name;
      }
    
    public String getType() {
        return type;
    }

      public void setType(String type) {
          this.type = type;
      }
    
    public String getContent() {
        return content;
    }

      public void setContent(String content) {
          this.content = content;
      }
    
    public String getUsername() {
        return username;
    }

      public void setUsername(String username) {
          this.username = username;
      }
    
    public String getPhone() {
        return phone;
    }

      public void setPhone(String phone) {
          this.phone = phone;
      }
    
    public Long getUserid() {
        return userid;
    }

      public void setUserid(Long userid) {
          this.userid = userid;
      }

    @Override
    public String toString() {
        return "Complaint{" +
              "id = " + id +
                  ", addtime = " + addtime +
                  ", name = " + name +
                  ", type = " + type +
                  ", content = " + content +
                  ", username = " + username +
                  ", phone = " + phone +
                  ", userid = " + userid +
              "}";
    }
}
